how does the process of divisibility rule of 2 work